package com.liy.cloud.common.feign.api;

import com.liy.cloud.common.feign.fallback.PwFeignClientFallbackFactory;
import com.das.framework.common.extvo.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author libs
 * @ClassName PwFeignClient
 * @Description
 * @date 2019/9/26 21:48:22
 */
@Component
@FeignClient(name = "pw", fallbackFactory = PwFeignClientFallbackFactory.class)
public interface PwFeignClient {

    /**
     * 添加售票员结算单
     *
     * @param sellerId
     * @return
     * @auther libs
     * @date 2019/9/26 21:54
     */
    @RequestMapping("/seller/report/add/report")
    @ResponseBody
    public ResultVO addSellerReport(@RequestParam("get") String sellerId);
}
